using BackData;
using Domain.DTOs.BOMs;
using MediatR;

namespace Team.API.Applocation.Command.BOM
{
    /// <summary>
    /// 获取BOM操作日志列表命令
    /// </summary>
    public class GetBOMLogsCommand : IRequest<APIPaging<BOMLogDTO>>
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int Pageindex { get; set; } = 1;

        /// <summary>
        /// 每页数量
        /// </summary>
        public int Pagesize { get; set; } = 10;

        /// <summary>
        /// 搜索关键词（用于搜索操作内容或操作人）
        /// </summary>
        public string? SearchKeyword { get; set; }
    }
}

